/*
	Author: Sidek Sirun
	Course: UCI Java Programming I (X460.10)
	Week 1 Assignment: 
		Write a Person class containing the state and behavior identified below.
		Object:
			Person
		State:
			1. First Name
			2. Last Name
			3. Age
			4. Gender
			5. SSN
		Behavior:
			1. Determine full name
			2. Determine age
			3. Determine gender
			4. Determine SSN
			5. Talk
	- PersonTest class is to test Person class (Person.java):
*/

class PersonTest {

	// main() method
	public static void main(String[] args) {

		// New instances of Person class
		Person jb = new Person();
		Person lc = new Person();

		// Set data to jb
		jb.setFirstName("James");
		jb.setLastName("Bond");
		jb.setAge(49);
		jb.setGender("Male");
		jb.setSSN("011-555-7777");
		jb.setTalk(true);

		// Set data to lc
		lc.setFirstName("Lara");
		lc.setLastName("Craft");
		lc.setAge(35);
		lc.setGender("Female");
		lc.setSSN("033-555-8888");
		lc.setTalk(false);

		// Print to STDOUT
		System.out.println(jb.getPersonInfo());
		System.out.println(jb.talkIntro());
		System.out.println(lc.getPersonInfo());
		System.out.println(jb.talkAsk());
		System.out.println(lc.talkReply());
	}
}